#import "BWDisablingTextField.h"

@implementation BWDisablingTextField


- (void) setEnabled: (BOOL) flag
{
    [super setEnabled: flag];

    if (flag == NO) {
        [self setTextColor: [NSColor secondarySelectedControlColor]];
    } else {
        [self setTextColor: [NSColor controlTextColor]];
    }

} // setEnabled


@end // BWDisablingTextField

